package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.model.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
public interface RoleMapper extends BaseMapper<Role> {
    @Select("SELECT * FROM role WHERE id = #{id}")
    Role selectById(int id);
}
